﻿<?xml version="1.0" encoding="utf-8"?>

<List xmlns:ows="Microsoft SharePoint" Title="Redirections" FolderCreation="FALSE" Direction="$Resources:Direction;"
      Url="Lists/Redirections" BaseType="0" xmlns="http://schemas.microsoft.com/sharepoint/" EnableContentTypes="TRUE">
  <MetaData>
    <ContentTypes>


      <ContentType ID="0x0100A48DA737F92B4D82B17790446EBAF901" Name="Managed Url Redirection"
                   Group="Redirection Content Types" Description="Redirects a page to another URL" Inherits="TRUE"
                   Version="0">
        <FieldRefs>
          <FieldRef
            ID="{b888d4ce-b8b6-4799-873f-163552c9502b}"
            DisplayName="Requested Url" Required="TRUE"
            Name="RequestedUrl" />
          <FieldRef
            ID="{4f764d47-f1d6-419e-bc09-75b23a0de280}"
            DisplayName="Destination Url" Required="TRUE"
            Name="DestinationUrl" />
          <FieldRef ID="{3532b441-9895-41fb-add4-8db85ed9b43f}" DisplayName="Permanent" Required="FALSE"
                    Name="PermanentRedirect" Sealed="true" />
          <FieldRef ID="{b4d4b006-886f-4ebd-8f13-7f8d0babeebf}"
                    DisplayName="Active" Required="FALSE"
                    Name="ActiveRedirect" Sealed="true" />
        </FieldRefs>
      </ContentType>
    </ContentTypes>
    <Fields>

      <Field ID="{fa564e0f-0c70-4ab9-b863-0177e6ddd247}" Type="Text" Name="Title" DisplayName="$Resources:core,Title;"
             Required="TRUE" SourceID="http://schemas.microsoft.com/sharepoint/v3" StaticName="Title" MaxLength="255" />
      <Field ID="{3532b441-9895-41fb-add4-8db85ed9b43f}" Name="PermanentRedirect" StaticName="PermanentRedirect"
             DisplayName="Permanent" Type="Boolean" Required="FALSE" Group="Redirection Site Columns" Sealed="true">
        <Default>No</Default>
      </Field>
      <Field ID="{b4d4b006-886f-4ebd-8f13-7f8d0babeebf}" Name="ActiveRedirect" StaticName="ActiveRedirect"
             DisplayName="Active" Type="Boolean" Required="FALSE" Group="Redirection Site Columns" Sealed="true">
        <Default>Yes</Default>
      </Field>
      <Field Type="Text" DisplayName="Destination Url" Required="TRUE" Group="Redirection Site Columns"
             ID="{4f764d47-f1d6-419e-bc09-75b23a0de280}" StaticName="DestinationUrl" Name="DestinationUrl" />
      <Field
        Type="Text" DisplayName="Requested Url" Required="TRUE" Group="Redirection Site Columns"
        ID="{b888d4ce-b8b6-4799-873f-163552c9502b}" StaticName="RequestedUrl" Name="RequestedUrl" />
    </Fields>
    <Views>


      <View BaseViewID="0" Type="HTML" MobileView="TRUE" TabularView="FALSE">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>

          <FieldRef Name="LinkTitleNoMenu"></FieldRef>
        </ViewFields>
        <Query>
          <OrderBy>

            <FieldRef Name="Modified" Ascending="FALSE"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="AddNewAnnouncement" Location="Resource(wss,addnewitem)" />
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_ONET_HOME)" />
        </ParameterBindings>
      </View>
      <View BaseViewID="1" Type="HTML" WebPartZoneID="Main"
            DisplayName="$Resources:core,objectiv_schema_mwsidcamlidC24;" DefaultView="TRUE" MobileView="TRUE"
            MobileDefaultView="TRUE" SetupPath="pages\viewpage.aspx" ImageUrl="/_layouts/15/images/generic.png"
            Url="AllItems.aspx">
        <Toolbar Type="Standard" />
        <XslLink Default="TRUE">main.xsl</XslLink>
        <JSLink>clienttemplates.js</JSLink>
        <RowLimit Paged="TRUE">30</RowLimit>
        <ViewFields>

          <FieldRef Name="LinkTitle"></FieldRef><FieldRef Name="RequestedUrl" /><FieldRef Name="DestinationUrl" />
          <FieldRef
            Name="PermanentRedirect" />
          <FieldRef Name="ActiveRedirect" />
        </ViewFields>
        <Query>
          <OrderBy>

            <FieldRef Name="ID"></FieldRef>
          </OrderBy>
        </Query>
        <ParameterBindings>
          <ParameterBinding Name="NoAnnouncements" Location="Resource(wss,noXinviewofY_LIST)" />
          <ParameterBinding Name="NoAnnouncementsHowTo" Location="Resource(wss,noXinviewofY_DEFAULT)" />
        </ParameterBindings>
      </View>
    </Views>
    <Forms>
      <Form Type="DisplayForm" Url="DispForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="EditForm" Url="EditForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
      <Form Type="NewForm" Url="NewForm.aspx" SetupPath="pages\form.aspx" WebPartZoneID="Main" />
    </Forms>
  </MetaData>
</List>